//package ai_generate_apiCases.general_version;
//
////import org.springframework.ai.openai.OpenAiChatModel;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * @author: Christy Huang
// * @email: huangbixuan@xiaomi.com
// * @since: 2025/06/04
// */
//
//@RestController
//@RequestMapping("/deepseek")
//public class DeepseekController {
//    private final OpenAiChatModel chatModel;
//
//    @Autowired
//    public DeepseekController(OpenAiChatModel chatModel) {
//        this.chatModel = chatModel;
//    }
//
//    @RequestMapping("/chat")
//    public String chat(@RequestParam("msg") String msg) {
//        String result = chatModel.call(msg);
//        System.out.println("返回结果："+result);
//        return result;
//    }
//}
